package org.vergil.core.designpattern.state.Lift;

/**
 * Created by vergil on 17-3-25.
 */
public class App {

    public static void main(String[] args){
        Context context = new Context();
        context.setLiftState(Context.stoppingState);

        context.open();
        context.getLiftState();
        context.run();

        context.close();

        context.run();
        context.open();
    }

}
